<?php
class Forum extends AppModel {

	var $name = 'Forum';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Organization' =>
				array('className' => 'Organization',
				      'foreignKey' => 'organization_id'
				),
			'Createdby' =>
				array('className' => 'User',
				      'foreignKey' => 'createdby'
				),
			'Modifiedby' =>
				array('className' => 'User',
					  'foreignKey' => 'modifiedby'
				)
	);

	var $hasOne = array(

	);

	var $hasMany = array(
			'Post' =>
				array('className'  => 'Post',
				      'foreignKey' => 'forum_id'
				),

	);

}
?>